<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<jsp:useBean id="user" class="bean.User" scope="session"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">

<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<meta http-equiv="Content-Language" content="fr" />
	<meta name="ROBOTS" content="index,follow" />

	<title>Acceuil</title>

</head>


<body>
<h1>${pageConfig.titre}</h1>
<%@ include file="../commun_page_swmenufree/swmenufree.jsp" %>
<jsp:include page="${pageConfig.contenu}" />
<%
String sessionUser = (String) session.getAttribute("username"); 
if (sessionUser == null){
	sessionUser = "invité";
}else{
	sessionUser = sessionUser.substring(0,1).toUpperCase()+sessionUser.substring(1, sessionUser.length());
}
%>
<h3>Bienvenue <%= sessionUser %> !
</h3>


</body>

</html>